https://youtu.be/vm7vxkyx4HE?si=sH3ZcLwNhidJzlhz const fs = require('fs'); const line = "Writing this text to a file"; //fs.appendText fs.writeFile('myfile.txt', line, err => { if (err) throw err; console.log('text to a file.'); }); fs.readFile('myfile.txt',…
https://youtu.be/TFIYHa-7Lm8 const d = new Date(); if (d instanceof Date) { console.log("object is a Date type"); } const num = 50; if (num instanceof Number) { console.log("Number type"); } const…